import org.omg.CORBA.PUBLIC_MEMBER;

abstract class Employee {
    private String name;
    private String ID;
    private int salary;
    public Employee(){}
    public Employee(String name,String ID,int salary)
    {
        this.name = name;
        this.ID = ID;
        this.salary = salary;
    }

     public String getName() {
         return name;
     }

     public void setName(String name) {
         this.name = name;
     }

     public int getSalary() {
         return salary;
     }

     public void setSalary(int salary) {
         this.salary = salary;
     }

     public String getID() {
         return ID;
     }

     public void setID(String ID) {
         this.ID = ID;
     }
     public abstract void Work();


 }
 class Programmer extends Employee{
    public Programmer(){}
    public Programmer(String name,String ID,int salary)
    {
        super(name,ID,salary);
    }
    public void Work(){
        System.out.println("写代码");
    }
 }

public class AbstractTest4{
    public static void main(String[] args) {

    }
}
